<%@page contentType="text/html; charset=UTF-8" language="java" %>
<%@page pageEncoding="UTF-8"%>
<%@page import="java.util.*" %>
<%@page import="com.mew.util.*" %>
<%@page import="com.humyu.school.corebase.*" %>
<% request.setCharacterEncoding("UTF-8");%>
<%
	CardClient cardClient = (CardClient)request.getAttribute("cardClient");
	String LoginName= cardClient.getCardClientLogin();
	String LoginPwd = cardClient.getCardClientPass();
	String LinkMan = cardClient.getEmergenceMan();
	String LinkPhone = cardClient.getEmergenceLink();
	String Desc = cardClient.getCardClientDesc();
%>
<html>
<head>
<title></title>
<script language="javascript">
function CheckValid()
{
	if(document.form1.OperatorName.value.length ==0 ){
		alert("请输入操作员名！");
		return false;
	}
	if(document.form1.OperatorPwd.value.length ==0 ){
		alert("请输入密码！");
		return false;
	}
	if(document.form1.OperatorPwd_Cfm.value!=document.form1.OperatorPwd.value ){
		alert("密码输入不一致，请确认！");
		return false;
	}
	return true;
}
</script>
<link href="css/common.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="<%=com.humyu.servlet.DispatcherServlet.PREFIX%>do" target="mainFrame"  onSubmit="return CheckValid()">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center"><p><strong>ID卡终端管理</strong></p>
        <table width="75%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#BBD1FC">
          <tr align="center">
            <td width="44%" align="right"><strong>登录名：</strong></td>
            <td width="56%" align="left"><input name="LoginName" type="text" id="LoginName" value="<%=LoginName%>" readonly="true"></td>
          </tr>
          <tr align="center">
            <td align="right"><strong>密码：</strong></td>
            <td align="left"><input name="LoginPwd" type="text" id="LoginPwd" value="<%=LoginPwd%>"></td>
          </tr>
          <tr align="center">
            <td align="right"><strong>确认：</strong></td>
            <td align="left"><input name="LoginPwd_CFM" type="text" id="LoginPwd_CFM" value="<%=LoginPwd%>"></td>
          </tr>
          <tr align="center">
            <td align="right"><strong>联系人：</strong></td>
            <td align="left"><input name="LinkMan" type="text" id="LinkMan" value="<%=LinkMan%>"></td>
          </tr>
          <tr align="center">
            <td align="right"><strong>联系电话：</strong></td>
            <td align="left"><input name="LinkPhone" type="text" id="LinkPhone" value="<%=LinkPhone%>"></td>
          </tr>
          <tr align="center">
            <td align="right"><strong>描述：</strong></td>
            <td align="left"><input name="Desc" type="text" id="Desc" value="<%=Desc%>"></td>
          </tr>
        </table>
        <p>
          <input name="action" type="hidden" value="CARDCLIENTMOD">
          <input type="submit" name="Submit" value="添　加">
          &nbsp;&nbsp;&nbsp;&nbsp;
          <input type="reset" name="Submit2" value="返　回" onClick="history.back()">
        </p></td>
    </tr>
  </table>
</form>
</body>
</html>
